﻿@using Tackakom.UserInterface.Helpers
@model IEnumerable<Tackakom.Model.Event>

@{
    ViewBag.Title = "Početna";
}

<h2 class="naslov">Lista događaja</h2>


<div id="event-list">
    @{int i = 0;}
    @foreach (var item in Model) {
		
     i = i + 1;
     @Html.Event(i, item, Model.Count());
                                        
    }
</div>
@if ((string)ViewData["pageLinks"] != "")
{ <div class="pagination">
   @Html.Raw(ViewData["pageLinks"].ToString())
  </div>
    }

@section Menu {
@Html.Partial("_FilterByName")
@Html.Partial("_FilterByPlace")
@Html.Partial("_FilterByDate")
@Html.Partial("_FilterByPrice")
@Html.Partial("_LogOnPartial")
}

@section Footer {
@Html.Partial("_SocialButtons")
}


